﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autocentro.Entities;

namespace Autocentro.BussinesLogic
{
    public interface IVehiculoBL
    {
        List<VEHICULO> GetAllFromVehiculos();
        List<VEHICULO> GetFromVehiculosByCriterio(string criterio);
        VEHICULO GetFromVehiculoById(Int32 id);
        VEHICULO GetFromVehiculoByNPlaca(string placa);
        void AddVehiculo(VEHICULO vehiculo);
        void UpdateVehiculo(VEHICULO vehiculo);
        void RemoveVehiculo(Int32 id);
        bool ExisteDuplicidadVehiculo(string NrPlaca, Int32 id);
    }
}
